home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
cenvid
/
ascii.bat
< prev
next >
Wrap
DOS Batch File
|
1994-10-05
|
618b
|
24 lines
@echo off
REM ***************************************************
REM *** Ascii.bat - Display the ASCII character set ***
REM *** ver.1 ***
REM ***************************************************
CEnviD %0.bat
GOTO CENVI_EXIT
#define ROW_COUNT 20
#define COL_COUNT 13
Unprintables = "\a\b\t\r\n\032\033"
for ( row = 0; row < ROW_COUNT; row++ ) {
for ( col = 0; col < COL_COUNT; col++ ) {
c = ROW_COUNT*col + row
if c < 256
printf("%c-%-3d ",(NULL==strchr(Unprintables,c))?c:'.',c)
}
printf("\n")
}
:CENVI_EXIT